-
Home
-
AskAny – AI-Powered Chat Assistant
-
1.1.0
-
Code
-
Classes
- AjaxHandler
Total Complexity |
107 |
Dependencies |
6 |
Dependents |
1 |
Total lines |
730 |
Lines of code |
401 |
Logical lines of code |
217 |
Comment lines |
219 |
Methods |
17 |
Properties |
5 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
save_settings() |
A |
43 |
16 |
42 |
test_api_connection() |
A |
42 |
15 |
54 |
process_pdf() |
A |
47 |
11 |
33 |
chat_response() |
A |
48 |
10 |
34 |
rest_chat_response() |
A |
49 |
10 |
28 |
update_qa_pair() |
A |
50 |
9 |
26 |
add_qa_pair() |
S |
51 |
7 |
25 |
delete_qa_pair() |
S |
53 |
5 |
24 |
get_qa_pair() |
S |
53 |
5 |
24 |
delete_pdf() |
S |
55 |
5 |
19 |
get_provider_settings() |
S |
54 |
4 |
20 |
reindex_content() |
S |
58 |
3 |
15 |
clear_chat_history() |
S |
58 |
3 |
14 |
init() |
S |
57 |
1 |
16 |
log_chat_history() |
S |
61 |
1 |
13 |
register_rest_routes() |
S |
68 |
1 |
7 |
__construct() |
S |
69 |
1 |
7 |